package com.xl.generator.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 
 * @TableName common_user
 */
@TableName(value ="common_user")
@Data
@Setter
@Getter
public class CommonUser implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "userAccount")
    private String userAccount;

    /**
     * 
     */
    @TableField(value = "password")
    private String password;

    /**
     * 
     */
    @TableField(value = "userName")
    private String userName;

    /**
     * 
     */
    @TableField(value = "roleId")
    private Integer roleId;

    /**
     * 
     */
    @TableField(value = "totalCredit")
    private Integer totalCredit;

    /**
     * 
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 
     */
    @TableField(value = "email")
    private String email;


    @TableField(value = "degree")
    private int degree;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}